package manongfanshen.cas.demo01;

/**
 * @author ChangLiang
 * @date 2020/4/24
 */
public class Sequence implements Isequence{

    private int value;

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public int next(){
        return value++;
    }
}
